for /R %%i in (*.gcc) do (
%%i > %%~ni.gcl
)

for /R %%i in (*.ghc) do (
%%i > %%~ni.ghl
)
